package com.hanxiaozhang.system.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import java.util.List;
import java.util.Map;

import com.hanxiaozhang.system.dao.UserJobDao;
import com.hanxiaozhang.system.entity.UserJobEntity;
import com.hanxiaozhang.system.service.UserJobService;


/**
 * 用户岗位关联表
 *
 * @author hanxiaozhang
 * @email hanxiaozhang2018@sina.com
 * @date 2021-03-30
 */
@Service
public class UserJobServiceImpl implements UserJobService {

	@Resource
	private UserJobDao userJobDao;
	
	@Override
	public UserJobEntity get(Long userJobId){
		return userJobDao.get(userJobId);
	}
	
	@Override
	public List<UserJobEntity> list(Map<String, Object> map){
		return userJobDao.list(map);
	}
	
	@Override
	public int save(UserJobEntity userJob){
		return userJobDao.save(userJob);
	}
	
	@Override
	public int update(UserJobEntity userJob){
		return userJobDao.update(userJob);
	}


}
